package com.easy.service;

import com.easy.bean.Category;
import com.easy.bean.Product;
import com.easy.util.Page;

import java.util.List;

public interface IProductService {

    int addProduct(Product product);

    int editProduct(Product product);

    int deleteProduct(int productid);

    List<Product> getList(Page page, String text);


    Product getProductById(int productid);

    int getCount(String text);
}
